<script></script>

<template></template>

<script setup>
const root = document.documentElement;
const primaryColor = getComputedStyle(root).getPropertyValue("--primary-color");
console.log(primaryColor); // 输出: #dd5058
</script>

<style lang="scss"></style>
